package com.yqg.education.mapper;

import com.yqg.education.entity.Attachment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yqg.education.entity.DTO.AttachmentDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxf
 * @since 2025-09-06
 */
@Mapper
public interface AttachmentMapper extends BaseMapper<Attachment> {

    List<AttachmentDTO> getAttachmentByCorrelationId(@Param("correlationTable") String correlationTable, @Param("correlationId") Long correlationId);
}
